package com.liuyi.tools.web.unusual;

import org.springframework.http.HttpStatus;

/**
 * @author Mr.fmy
 * @version 1.0.0
 * @ClassName HttpStatusBizException
 * @Description TODO 自定义http状态版接口
 * @createTime 2020/4/8 14:09
 */
public class HttpStatusBizException extends BizException {

    private HttpStatus httpStatus;

    public HttpStatusBizException(IEnum iEnum) {
        super(iEnum);
        this.httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
    }

    public HttpStatusBizException(IEnum iEnum, String message) {
        super(iEnum, message);
        this.httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
    }

    public HttpStatusBizException(String message) {
        super(message);
        this.httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
    }

    public HttpStatusBizException(String message, Object[] args) {
        super(message, args);
        this.httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
    }

    public HttpStatusBizException(HttpStatus httpStatus, IEnum iEnum, String message) {
        super(iEnum, message);
        this.httpStatus = httpStatus;
    }

    public HttpStatusBizException(HttpStatus httpStatus, String message) {
        super(message);
        this.httpStatus = httpStatus;
    }

    public HttpStatusBizException(HttpStatus httpStatus, IEnum iEnum, Object[] args) {
        super(iEnum, args);
        this.httpStatus = httpStatus;
    }

    public HttpStatusBizException(IEnum iEnum, String message, Object[] args, HttpStatus httpStatus) {
        super(iEnum, message, args);
        this.httpStatus = httpStatus;
    }

    public HttpStatusBizException(String message, Object[] args, HttpStatus httpStatus) {
        super(message, args);
        this.httpStatus = httpStatus;
    }

    public HttpStatusBizException(IEnum iEnum, String message, HttpStatus httpStatus) {
        super(iEnum, message);
        this.httpStatus = httpStatus;
    }

    public HttpStatus getHttpStatus() {
        return httpStatus;
    }
}
